#ifndef __LENGTHUNIT_H__
#define __LENGTHUNIT_H__
#include <Unit.h>
#include <Quantity.h>

#define Length Quantity <LengthUnit>

class LengthUnit : public Unit {
public:
   LengthUnit (int ratio, const string name);
   static ostream& output (ostream& out, const Quantity <LengthUnit> quantity);   
};

const LengthUnit INCH (1, "INCH");
const LengthUnit FEET (12, "FEET");
const LengthUnit YARD (12 * 3, "YARD");
const LengthUnit MILE (1760 * 12 * 3, "MILE");

#endif
